<?php
	/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use ijackua\lepture\Markdowneditor;
use ijackua\lepture\MarkdowneditorAssets;
	$this->title = '测试首页';
//	AppAsset::addScript($this, 'js/jquery-2.2.1.min.js');
//    AppAsset::addScript($this, 'js/test.js');
//	AppAsset::addCss($this, 'css/default.css');
MarkdowneditorAssets::register($this);
?>


<div class="archives-form">


	<div class="archives-form">

		<?php $form = ActiveForm::begin(); ?>

		<?= Markdowneditor::widget(['name'=>'1','attribute' => 'body']) ?>

		<div class="form-group">
			<?= Html::submitButton('提交', ['class' => 'btn btn-success']) ?>
		</div>

		<?php ActiveForm::end(); ?>

	</div>

